package org.zfes.snowier.cloud.zbss.cms.content.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.content.model.CmsContentTag;
public interface ICmsContentTagService {

	 Optional<CmsContentTag> loadCmsContentTagById(Long id);
	 
	 List<CmsContentTag> loadCmsContentTagByContentId(Long contentId);
	 List<Long> selectContentIdListByTagId(Long tagId);
	
	 void createCmsContentTag(CmsContentTag cmsContentTag);
	 
	 void createCmsContentTag(Long contentId,String tagNames,Long siteId);
	
	 void updateCmsContentTag(CmsContentTag cmsContentTag);

	 void deleteCmsContentTag(Long id);
	 void deleteCmsContentTagByContentId(Long contentId);
	
	 DataSet loadCmsContentTagDataSet(Map<String, Object> params);

 	 void setCmsContentTagStatus(Long id, Byte status);
 	 
 	 void setCmsContentTagStatusByContentId(Long contentId, Byte status);
}